import Vue from 'vue'
import VueRouter from 'vue-router'
import ZKJ from '../components/软件工程二级项目/总体框架.vue'
import YYGL from '../components/软件工程二级项目/挂号预约/预约管理.vue'
import XCGH from '../components/软件工程二级项目/挂号预约/现场挂号.vue'
import SF from '../components/软件工程二级项目/挂号预约/收费管理/收费.vue'
import TF from '../components/软件工程二级项目/挂号预约/收费管理/退费.vue'
import SFSC from '../components/软件工程二级项目/挂号预约/收费管理/收费审查.vue'
import FPDY from '../components/软件工程二级项目/挂号预约/发票管理/发票打印.vue'
import FPSC from '../components/软件工程二级项目/挂号预约/发票管理/发票审查.vue'
import HZBL from '../components/软件工程二级项目/门诊医生/患者病历显示.vue'
import PBGL from '../components/软件工程二级项目/信息管理/排班管理.vue'
import YSGL from '../components/软件工程二级项目/信息管理/医生管理.vue'
import KSGL from '../components/软件工程二级项目/信息管理/科室管理.vue'
import DL from '../components/软件工程二级项目/登录.vue'
import SY from '../components/软件工程二级项目/首页.vue'
Vue.use(VueRouter)
const routes = [
	{
		path: '/',
		name: 'dl',
		component: DL
	},
	{
		path: '/zkj',
		component: ZKJ,
		children: [{
				path: '/sy',
				name: 'sy',
				component: SY
			}, {
				path: '/yygl',
				name: 'yygl',
				component: YYGL
			},
			{
				path: '/xcgh',
				name: 'xcgh',
				component: XCGH
			},
			{
				path: '/sf',
				name: 'sf',
				component: SF
			},
			{
				path: '/tf',
				name: 'tf',
				component: TF
			},
			{
				path: '/sfsc',
				name: 'sfsc',
				component: SFSC
			},
			{
				path: '/fpdy',
				name: 'fpdy',
				component: FPDY
			},
			{
				path: '/fpsc',
				name: 'fpsc',
				component: FPSC
			},
			{
				path: '/hzbl',
				name: 'hzbl',
				component: HZBL
			},
			{
				path: '/pbgl',
				name: 'pbgl',
				component: PBGL
			},
			{
				path: '/ksgl',
				name: 'ksgl',
				component: KSGL
			},
			{
				path: '/ysgl',
				name: 'ysgl',
				component: YSGL
			}

		]
	},
]

const router = new VueRouter({
	mode: 'history',
	base: process.env.BASE_URL,
	routes
})

export default router
